package cn.com.fy;

import tk.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//扫描mybatis mapper包路径
@MapperScan(basePackages = "cn.com.fy.mapper")
//扫描所有所需要的包，包含一些自用的工具类包所在路径
//@ComponentScan(basePackages = "cn.com.fy")
public class FyApplication {

	public static void main(String[] args) {
		SpringApplication.run(FyApplication.class, args);
	}
}
